# 用户models的序列化类
import bdb

from applications.exts import ma
from marshmallow import fields


class OrdersOutSchema(ma.Schema):
    oid = fields.Integer()
    openid= fields.Str()
    order_sn = fields.Str()
    goodsid=fields.Integer()
    code = fields.Str()
    redatetime = fields.DateTime()
    pay_type = fields.Str()
    order_price = fields.Float()
    yuan_price = fields.Float()
    order_status = fields.Integer()
    pay_status = fields.Integer()
    send_status = fields.Integer()
    send_type=fields.Integer()
    send_sn = fields.Str()
